﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Newtonsoft.Json;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.ZH.Dto
{
    [ExcelExporter(Name = "TU产地变更申请审批流程", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetTUDCBGSQOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 流程单号
        /// </summary>
        [ExporterHeader(DisplayName = "流程单号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 紧急程度
        /// </summary>
        [ExporterHeader(DisplayName = "紧急程度")]
        public string Jjcd { get; set; }

        /// <summary>
        /// 供应链交付中心
        /// </summary>
        [ExporterHeader(DisplayName = "紧急程度")]
        public string Gyljfzx { get; set; }

        /// <summary>
        /// 现工厂代码
        /// </summary>
        [ExporterHeader(DisplayName = "现工厂代码")]
        public string CurrentFactory { get; set; }

        /// <summary>
        /// 现工厂名称
        /// </summary>
        [ExporterHeader(DisplayName = "现工厂名称")]
        public string CurrentFactoryName { get; set; }

        /// <summary>
        /// 申请开发工厂代码
        /// </summary>
        [ExporterHeader(DisplayName = "申请开发工厂代码")]
        public string OpenFactory { get; set; }

        /// <summary>
        /// 申请开发工厂名称
        /// </summary>
        [ExporterHeader(DisplayName = "申请开发工厂名称")]
        public string OpenFactoryName { get; set; }

        /// <summary>
        /// 需求描述
        /// </summary>
        [ExporterHeader(DisplayName = "需求描述")]
        public string Requirement { get; set; }

        /// <summary>
        /// 合计
        /// </summary>
        [ExporterHeader(DisplayName = "合计")]
        public string TotalQuantity { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SortNo { get; set; }

        /// <summary>
        /// 事业群
        /// </summary>
        [ExporterHeader(DisplayName = "事业群")]
        public string BusinessGroup { get; set; }

        /// <summary>
        /// 成品编码
        /// </summary>
        [ExporterHeader(DisplayName = "成品编码")]
        public string MaterielCode { get; set; }

        /// <summary>
        /// 成品名称
        [ExporterHeader(DisplayName = "成品名称")]
        public string MaterielName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [ExporterHeader(DisplayName = "规格")]
        public string Specs { get; set; }

        /// <summary>
        /// 需求省
        /// </summary>
        [ExporterHeader(DisplayName = "需求省")]
        public string Province { get; set; }

        /// <summary>
        /// 需求销售部
        /// </summary>
        [ExporterHeader(DisplayName = "需求销售部")]
        public string SalesDept { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        [ExporterHeader(DisplayName = "城市")]
        public string City { get; set; }

        /// <summary>
        /// 年需求数量
        /// </summary>
        [ExporterHeader(DisplayName = "年需求数量")]
        public string DemandNumber { get; set; }

        /// <summary>
        /// 年需求重量（吨）
        /// </summary>
        [ExporterHeader(DisplayName = "年需求重量（吨）")]
        public string DemandWeight { get; set; }

        /// <summary>
        /// T09编码
        /// </summary>
        [ExporterHeader(DisplayName = "T09编码")]
        public string T09Code { get; set; }

        /// <summary>
        /// T09属性
        /// </summary>
        [ExporterHeader(DisplayName = "T09属性")]
        public string T09Desc { get; set; }

        /// <summary>
        /// 备注说明
        /// </summary>
        [ExporterHeader(DisplayName = "备注说明")]
        public string Remark { get; set; }

    }
}